home *** CD-ROM | disk | FTP | other *** search
- Path: luss.is.ge.com!news
- From: "Westley L. Hespeth" <westley@geis.geis.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Slide Bars IN BC ++
- Date: Sun, 04 Feb 1996 12:15:40 -0500
- Organization: GE Information Services, Inc.
- Message-ID: <3114E9BC.3091@geis.geis.com>
- References: <31112E80.3D91@geis.geis.com>
- NNTP-Posting-Host: ras2.is.ge.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win95; I)
-
- westley wrote:
- >
- > Hello,
- >
- > (Borland 4.0)
- > I wish to use a Scroll Bar with my Pop-up Dialog Box.
- > The resource workshop creates one easy enough. The problem
- > is that the help and documetation leave you a little short
- > about how to communicate with it. There is doc on using
- > the TScrollbar class but nothing dealing with using
- > the Scrollbar created with the WS_VSROLLBAR attribute set
- > for a DLG.
- >
- > Westley L. Hespeth
- > Westley@geis.geis.com
- > Speth Software
-
-
- In time, I have answered my own question. If a dialog has a scrol bar
- created with the scroll bar style bit it will send messages (ie
- WM_VSCROLL & WM_HSCROLL). To controll it, you define the coresonding
- responce table entries in a reponce table for the derived dialog.
- These mesage will coresspond to EV_WM_VSCROLL or EV_WM_HSCROLL. The
- responce table macros will call void EvVScroll or EvHScroll. These
- functions can be overriden to provide the desired affect.
-
- Westley L. Hespeth
- Speth Software.
-
-